home *** CD-ROM | disk | FTP | other *** search
/ Programming a Multiplayer FPS in DirectX / Programming a Multiplayer FPS in DirectX (Companion CD).iso / DirectX / dxsdk_oct2004.exe / dxsdk.exe / Samples / C++ / Direct3D / Text3D / text3d.txt < prev    next >
Encoding:
Text (UTF-16)  |  2004-09-27  |  932 b   |  5 lines

  1. This is a single call to ID3DXFont::DrawText() with a large text buffer.  It shows that ID3DXFont supports word wrapping.  If you resize the window, the words will automatically wrap to the next line.  It also supports 
  2. hard line breaks.  It also shows that ID3DXFont supports Unicode text with correct word wraping for right-to-left languages.  For example, if you install files for East Asian languages will see Japanese text below:
  3. このサンプルは、テキストの書き方を示しています。
  4.  
  5.